Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Indexer

Item

var self[key: K]: V

Declaring type: MutableMap<K, V>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: MutableMap.rvn

Defined by MutableMap<K, V>.Item · Required implementation (no default).

Interface implementation: Required implementation (no default).

Gets an existing value, or inserts/replaces a value through the setter.

Parameters

Name Type Description
key K The key to look up or update.

Property value

V

Remarks

The getter faults for a missing key; prefer Find for safe lookup. The setter has Set semantics.